Ext.onReady(function() {
		Ext.Ajax.request({
			url : 'member/summary.action',
			method : 'POST',
			success : function(response) {
				Ext.Msg.hide();
				var rt = Ext.decode(response.responseText);
				if (rt.success){
					var memberCategory=rt.memberCategory;
					var summary=rt.summary;
					var tabCode='<tr><th  class="tit" >区域/会员类型</th>';
					Ext.each(memberCategory,function(item,i ){
						tabCode+='<th  width="5%" class="tit" >'+item+' </th>';
					});
					tabCode+='</tr>';
					for(var key in summary){
						tabCode+='<tr><th width="4%"class="tb_tit">'+key+'</th>';
						var values=summary[key];
						 Ext.each(values,function(item,i){
							 tabCode+='<td>'+item+'</td>';
						 });
							
						tabCode+='</tr>';
					}
					Ext.DomHelper.append("summaryTab",  tabCode) ;	
				} else {
					bangni.ajaxError(response);
				}
			}
			
		});
		
		
		
});